LinearLayout

Undocumented in source.

Members

Aliases

addChild
alias addChild = Widget.addChild
Undocumented in source.

Enums

Direction
enum Direction
Undocumented in source.

Functions

addChild
void addChild(Widget w)
Undocumented in source. Be warned that the author may not have intended to support it.
preRender
void preRender()
Undocumented in source. Be warned that the author may not have intended to support it.
setDirection
void setDirection(Direction d)
Undocumented in source. Be warned that the author may not have intended to support it.
setPadding
void setPadding(int padding)
Undocumented in source. Be warned that the author may not have intended to support it.
setSpacing
void setSpacing(int spacing)
Undocumented in source. Be warned that the author may not have intended to support it.
updateLayout
void updateLayout()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dir
Direction dir;
Undocumented in source.
padding
int padding;
Undocumented in source.
spacing
int spacing;
Undocumented in source.

Inherited Members

From Group

renderFlatTree
Widget[] renderFlatTree;
Undocumented in source.
flattenRenderTree
void flattenRenderTree(TypeInfo[] renderOrder)

If you don't have overlapping sprites, you may flatten the tree for rendering. This beyond increasing iteration speed since there will be less recursive calls, it is also possible to sort by batch types.

onRender
void onRender()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta